<?php

namespace Xin\Menu;

use Xin\Capsule\WithConfig;
use Xin\Menu\Contracts\Repository as RepositoryContract;

abstract class AbstractRepository implements RepositoryContract
{
    use WithConfig;

    /**
     * @var $config
     */
    protected $config;

    /**
     * Repository constructor.
     *
     * @param $config
     */
    public function __construct($config)
    {
        $this->config = $config;
    }
}
